//#define __DEBUG__
// by Xeno
#define THIS_FILE "fn_removemhqenemyteletrig.sqf"
#include "x_setup.sqf"

private ["_mhq", "_trig"];
_mhq = _this;
_trig = GV(_mhq,GVAR(enemy_trigger));
if (!isNil "_trig" && {!isNull _trig}) then {
	deleteVehicle _trig;
};
_mhq setVariable [QGVAR(enemy_trigger), nil];
_mhq setVariable [QGVAR(enemy_near), false, true];